<?php if(!defined('PHPOK_SET')){die('<h3>Error...</h3>');}?><?php QG_C_TEMPLATE::p("global_head","","0");?>
<?php QG_C_TEMPLATE::p("right.css","","0");?>
<?php QG_C_TEMPLATE::p("right.head","","0");?>

<div class="table2">
	&nbsp;<a href="admin.php?file=index">系统首页</a>
	&raquo; <a href="admin.php?file=nav&act=list">导航栏管理</a>
	<input type="button" value="添加新导航" onclick="qgurl('admin.php?file=nav&act=add')">
</div>

<script language="JavaScript">
function delete_confirm(aaa)
{
	question = confirm("确认删除该链接吗？\n\n\t删除后无法恢复！");
	if (question != "0")
	{
		qgurl("admin.php?file=nav&act=delete&id="+aaa);
	}
}
function navmodify(id)
{
	qgurl("admin.php?file=nav&act=modify&id="+id);
}
</script>

<?php $_i=0;$rslist=(is_array($rslist))?$rslist:array();foreach($rslist AS  $key=>$value){$_i++; ?>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'" id="category_id_<?php echo $value[id];?>">
<table width="100%">
<tr>
	<td width="30%"><?php echo $value[name];?> <span class="clue_on">[ID:<?php echo $value[id];?>] [ORDER:<?php echo $value[taxis];?>]</span></td>
	<td width="30%"><?php echo $value[css];?> </td>
	<td width="30%">
		<input type="button" value="编辑" onclick="navmodify(<?php echo $value[id];?>);">
		<input type="button" onclick="delete_confirm(<?php echo $value[id];?>);" value="删除">
	</td>
	
</tr>
</table>
</div>
<?php } ?>

<?php QG_C_TEMPLATE::p("foot","","0");?>